package com.linln.admin.groupMgr.validator;

import lombok.Data;

import java.io.Serializable;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.linln.modules.system.domain.Dept;

/**
 * @author zcb
 * @date 2020/04/20
 */
@Data
public class TeamValid implements Serializable {
	/*
	 * @NotNull(message = "主键ID不能为空") private Long id;
	 */
	/*
	 * @NotEmpty(message = "名称不能为空") private String teamName;
	 * 
	 * @NotNull(message = "所属部门ID不能为空") private Long deptId;
	 * 
	 * @NotNull(message = "团队/小组不能为空") private Byte teamType;
	 * 
	 * @NotEmpty(message = "所属类型不能为空") private String userBusiType;
	 */
	
	
	@NotNull(message = "所在部门不能为空")
    private Dept dept;
}